﻿using Factory.MasterData.Materials.Dto;
using Factory.WarehouseManagement.WarehouseSettings.DTO;
using Factory.WarehouseManagement.WarehouseSettings;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;
using Factory.MasterData.Vendors.Dto;
using Factory.WarehouseManagement.Vendors.DTO;

namespace Factory.WarehouseManagement.Vendors
{
    public interface IVendorsAppService:IApplicationService
    {
        Task<PageResult> GetListAsync(string returnName, int pageIndex = 1, int pageSize = 10);
        int CreateAsync(VendorReturn input);
        Task<int> UpdateAsync(VendorDTO input);

        Task<int> DeleteAsync(int id);

        VendorReturn GetVendorById(int id);
    }
}
